@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
    font-family: 'Poppins', sans-serif;
}
body{
    margin: 0;

}
/* 头部区域 */
.head{
    position: relative;
    height: 134px;

}
.head_top{
    position: relative;
    height: 45px;
    background-color: #242933;
}

.top_between{
    position: relative;
    height: 100%;
    width : 1226px;
    margin: 0 auto;
    overflow: visible;
}
.top_a{
    position: relative;
    width: 750px;
    height: 100%;
    float: left;
}



/* 状态栏 */
.nav{
    width: 340px;
    height: 100%;
    position: relative;
    border-radius: 10px;
}
.nav ul{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    right: 5%;
    padding: 0;
    margin: 0;
}
.nav ul .nav-box{
    position: absolute;
    bottom: 0;
    left: 0;
    /* 如果导航栏就六个导航，那么每个导航的宽度都是整个导航
    的六分之一 */
    width: calc((100% / 4)*1);
    height: 7px;
    border-radius: 2px;
    transition: .5s;
    border-radius: 15px;
}
.nav ul li{
    width: 100%;
    text-align: center;
    list-style: none;
}
.nav ul li a{
    color: #8a8f99;
    font-size: 15px;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 45px;
}
.nav a:hover{
    color: white;
}
.nav a{
    text-decoration:none;
}
.nav ul li:nth-child(1):hover~.nav-box{
    left: calc(100% / 4 *0);
    background-color: rgb(56, 238, 238);
}
.nav ul li:nth-child(2):hover~.nav-box{
    left: calc(100% / 4 *1);
    background-color: red;
}
.nav ul li:nth-child(3):hover~.nav-box{
    left: calc(100% / 4 *2);
    background-color: #d18df8;
}
.nav ul li:nth-child(4):hover~.nav-box{
    left: calc(100% / 4 *3);
    background-color: #ffb1b1;
}


/* 用户名 */
.top_b{
    height: 100%;
    width : 251px;
    margin: 0 auto;
    float: left;
    background-color: #8a8f99;
}

.username{
    height: 100%;
    width: 180px;
    float: left;
    position: relative;
}

.usernamec {
    height: 45px;
    line-height: 45px;
    display: block;
    color: #8a8f99;
    background-color: #242933;
    text-align: center;
    position: relative;
    font-size: 14px;
    text-decoration:none;
}
.username img{
    position: relative;
    float: left;
    top: -2px;
    right: -25px;
    height: 23px;
    width: 24px;
    transform: translate(0,50%);
}
.u_menu {
    position: relative;
    left: 0px;
    width: 316px;
    height: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    overflow: hidden;
    transition: height .3s;
    background: rgb(255, 255, 255);
    color: #424242;
    line-height: 99px;
    z-index: 10;
    border-radius:19px;
}
.username .usernamec.usernamec-color {
    color: #8a8f99;
    background-color: #fff;
    font-weight: bold;

}

/* 头像 */
.u_menu_left{
    position: relative;
    width: 40%;
    height: 100%;
    float: left;
}
.u_menu_left img{
    position: relative;
    width: 100px;
    height: 100px;
    left: 15px;
    top: -32px;
    border-radius: 100%;
}

.u_menu_right{
    position: relative;
    width: 60%;
    height: 100%;
    float: left;
}

.u_menu_right p{
    position: relative;
    font-size: 15px;
    color: #0095ff;
    height: 12px;
    top: -25px;
    left: 5px;
}

/* 注销 */
.newuser{
    position: relative;
    height: 100%;
    width: 71px;
    float: left;
    background-color: #242933;
    display: flex;
    justify-content: center;
    align-items: center;
}
.newuser a{
    font-size: 14px;
    font-family: 幼圆;
    text-decoration:none;
    color: #8a8f99;
}
.newuser a:hover{
    color: white;
    font-weight: bold;
}


/* 购物车 */
.top_c{
    position: relative;
    width: 180px;
    height: 100%;
    float: left;
    background-color: #242933;
}
.top_c img{
    position: relative;
    width: 30px;
    height: 30px;
    left: -12px;
    top: 8px;
}
.shopcarc {
    height: 100%;
    line-height: 40px;
    display: block;
    text-align: center;
    position: relative;
    background-color: #242933;
    font-family: 幼圆;
    font-size: 15px;
    text-decoration:none;
    color: #8a8f99;
    font-size: 14px;
}
.shopcar_menu {
    position: relative;
    left:-140px;
    width: 450px;
    height: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    overflow: hidden;
    transition: height .5s;
    background: rgb(255, 255, 255);
    color: #424242;
    line-height: 99px;
    text-align: center;
    z-index: 10;
    border-radius:19px;
}
.top_c .shopcar .shopcar-color {
    color: #8a8f99;
    background-color: #fff;
    font-weight: bold;
}

/* 购物车卡片 */
.shopcar_all{
    position: relative;
    width: 100%;
    height: 80px;
    float: left;
    margin-top: 13px;
    border-bottom: 1px solid #d7d8da;
}
.shopcar_all_name{
    position: relative;
    width: 35%;
    height: 100%;
    float: left;
    margin-left: 10px;
    display: flex;
    justify-content: center
}
.shopcar_all_name img{
    position: relative;
    width: 70px;
    height: 65px;
}

.shopcar_all_text{
    position: relative;
    width: 35%;
    height: 100%;
    float: left;
    display: flex;
    align-items: center;
}

.shopcar_all_price{
    position: relative;
    width: 25%;
    height: 100%;
    float: left;
    display: flex;
    align-items: center;
}
.shopcar_all_text a{
    position: relative;
    font-size: 17px;
    text-decoration: none;
    color: #242933;
    font-family: 幼圆;

}
.shopcar_all_price a{
    position: relative;
    font-size: 15px;
    text-decoration: none;
    color: red;
    font-family: 幼圆;
}

/*顶部——下部分 */
.head_under{
    position: relative;
    height: 80px;
    /* background-color: aliceblue; */
    /*  */
}
.under_between{
    position: relative;
    height: 100%;
    width: 1200px;
    /* background-color: #ffb1b1; */
    margin: 0 auto;
    display: flex;
    align-items:flex-end;
}

/* logo */
.logo{
    position: relative;
    height: 90%;
    width: 320px;
    float: left;
    display: flex;
    align-items:center;
}
.logo h2{
    position: relative;
    float: left;
    padding-left: 19px;
    font-size: 40px;
    text-align: center;
}


/* 导航栏四大键 */
.top_between_second{
    position: relative;
    width: 550px;
    height: 90%;
    float: left;

}
.top_between_second a{
    font-size: 13pt;
    font-family : 幼圆;
    text-decoration: none;
    color: #000;
}



.between_second_fisrt{
    position: relative;
    float: left;
    width: 25%;
    height: 80%;
    transform: translate(0%,30%);
    text-align: center;
    line-height: 50px;
    z-index: 10;
}
/* 第一个隐藏菜单 */
.first_menu {
    position: relative;
    width: 1920px;
    top: 11px;
    transform: translate(-35.5%,0%);
    height: 0;
    box-shadow: 0 7px 8px 0px rgba(.45, 0, 0, .15);
    overflow: hidden;
    transition: height .3s;
    transition-timing-function:  ease-out;
    background: rgb(255, 255, 255);
    color: #424242;
    line-height: 99px;
    border-radius:0 0 40px 40px;
}
.between_second_fisrt .firstc.firstc-color {
    color: #0095ff;
    font-weight: bold;

}
.between_second_fisrt:hover{
    border-bottom: 2px solid #0095ff;
}

/* 商品列表 */
.menu_between{
    position: relative;
    width: 85.5%;
    height: 90%;
    margin: 20px auto;
}
/* 商品模板 */
.menu_shopall{
    position: relative;
    width: 250px;
    height: 300px;
    float: left;
    margin-left: 20px;
    margin-top: 25px;
    border-radius: 9px;
    background-color: white;
    overflow: hidden;
    transition: transform .5s;
}
.menu_shopall_a{
    position: relative;
    width: 100%;
    height:200px;
    float: left;
    display: flex;
    justify-content: center;
}
.menu_shopall_a img{
    position: relative;
    width: 180px;
    height: 160px;
    top: 20px;
}
.menu_shopall img:hover{
    transform:scale(1.1)
}
.menu_shopall:hover,
.shopall:hover{
    box-shadow: 0 0px 3px #74c9ff;
}
.menu_shopall_b{
    position: relative;
    width: 100%;
    height: 15%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.shopall_b a{
    position: relative;
    text-decoration: none;
    font-size: 17px;
    color: black;
}

.menu_shopall_c{
    position: relative;
    width: 100%;
    height: 12%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu_shopall_c a{
    position: relative;
    text-decoration: none;
    font-size: 18px;
    color: red;
}


.between_second_second{
    position: relative;
    float: left;
    width: 25%;
    height: 80%;
    transform: translate(0%,30%);
    text-align: center;
    line-height: 50px;
    z-index: 10;
}
/* 第二个隐藏菜单 */
.second_menu {
    position: relative;
    width: 1915px;
    top: 11px;
    transform: translate(-42.6%,0%);
    height: 0;
    box-shadow: 0 7px 8px 0px rgba(.45, 0, 0, .15);
    overflow: hidden;
    transition: height .3s;
    transition-timing-function:  ease-out;
    background: rgb(255, 255, 255);
    color: #424242;
    line-height: 99px;
    border-radius:0 0 40px 40px;

}
.between_second_second .secondc.secondc-color {
    color: #0095ff;
    font-weight: bold;

}
.between_second_second:hover{
    border-bottom: 2px solid #0095ff;
}



.between_second_third{
    position: relative;
    float: left;
    width: 25%;
    height: 80%;
    transform: translate(0%,30%);
    text-align: center;
    line-height: 50px;
}
.between_second_forth{
    position: relative;
    float: left;
    width: 25%;
    height: 80%;
    transform: translate(0%,30%);
    text-align: center;
    line-height: 50px;
}


/* 搜索栏 */
.top_between_third{
    position: relative;
    width: 250px;
    height: 90%;
    margin-left: 20px;
    /* background-color: aquamarine; */
    float: left;
}
.inserach{
    position: relative;
    float: left;
    width: 90%;
    height: 45%;
    transform: translate(0%,80%);
    background-color: #f6f6f6;
    border-radius: 20px;
    margin-left: 20px;

}
.input{
    position: relative;
    height: 100%;
    width: 80%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inputc{
    position: relative;
    height: 80%;
    width: 90%;
    border-radius: 20px;
    border: 0px;
    background-color: #f6f6f6;

}
.serach_ico{
    position: relative;
    height: 100%;
    width: 20%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.serach_ico img{
    position: relative;
    width: 25px;
    height:25px;
}

/* 第三四个导航 */
.thirdc:hover,
.forthc:hover{
    color: #0095ff;
    font-weight: bold;
}


/* 介绍条 */
.shop_text{
    position: relative;
    width: 100%;
    height: 80px;
    background-color: #f6f8fb;
    margin-top: 20px;
}
.shop_text_between{
    position: relative;
    width: 61%;
    height: 100%;
    margin: 0 auto;

}
.shop_text_between_1{
    position: relative;
    width: 80%;
    height: 100%;
    float: left;

    display: flex;
    align-items: center;
}
.shop_text_between_1 a{
    font-size: 30px;
    text-decoration: none;
    color: #000;
}
.shop_text_between_2{
    position: relative;
    width: 20%;
    height: 100%;
    float: left;

    display: flex;
    align-items: center;
    justify-content: center;
}
.shop_text_between_2 a{
    font-size: 18px;
    text-decoration: none;
    color: #000;
}

.shop_details{
    position: relative;
    width: 100%;
    height: 550px;

    margin-top: 20px;
}
.shop_details_between{
    width: 68%;
    height: 100%;
    margin: 0 auto;
    /* background-color: white; */
    /* background-color: #008cff; */
}

.shop_details_between_left{
    position: relative;
    width: 50%;
    height: 100%;
    /* background-color: #797e83; */
    float: left;
    display: flex;
    align-items: center;

}
.shop_details_between_left_img{
    width: 580px;
    height: 548px;
    margin-left: 40px;
}
.shop_details_between_right{
    width: 46%;
    height: 100%;
    /* background-color: violet; */
    float: left;
}

.right_shop_name{
    position: relative;
    width: 100%;
    height: 15%;
    float: left;

    display: flex;
    align-items: center;
}
.right_shop_name a{
    font-size: 28px;
    text-decoration: none;
    color: #000;
}
.right_shop_text{
    position: relative;
    width: 100%;
    height: 20%;
    float: left;

    display: flex;

}
.right_shop_text a{
    font-size: 15px;
    text-decoration: none;
    color: #000;
}
.right_shop_price{
    position: relative;
    width: 100%;
    height: 20%;
    float: left;

    display: flex;
    align-items: center;
}
.right_shop_price a{
    font-size: 25px;
    text-decoration: none;
    color: red;
}
.right_shop_where{
    position: relative;
    width: 100%;
    height: 20%;
    float: left;

}
.right_shop_where a{
    font-size: 15px;
    text-decoration: none;
    color: rgb(0, 0, 0);
}
.where{
    position: relative;
    width: 100%;
    height: 50px;
    float: left;
    top: 5px;
    border: 1px solid #8a8f99;
    display: flex;
    justify-content: center;
    align-items: center;
}
.go{
    position: relative;
    width: 100%;
    height: 20%;
    float: left;

    display: flex;
    align-items: center;

}

.buy{
    position: relative;
    width: 60%;
    height: 50%;
    float: left;
    background-color: #e03d3d;
    display: flex;
    justify-content: center;
    align-items: center;
}
.add{
    position: relative;
    width: 40%;
    height: 50%;
    float: left;
    background-color: #008cff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button_all{
    background-color: #242933;
    color: #0193fb;
    font-size: 18px;
    border: 0px;
}

.inputh{
    display: none;
}
.inputsure{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #008cff;
    border: 0px;
}
.formadd{
    position: absolute;
    height: 110px;
    width: 580px;
    transform: translate(322px,33px);
}


.button_all{
    background-color: #242933;
    color: #0193fb;
    font-size: 18px;
    border: 0px;
}
.input_image{
    position: relative;
    height: 20px;
}



/* 放大镜 */
.mask{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 240px;
    background-color: #5a8aeb;
    /* 半透明 */
    opacity: .5;
    border: 1px solid #ccc;
    cursor: move;
}

.big{
    display: none;
    position: absolute;
    top: 0;
    left:650px;
    width: 450px;
    height:450px;
    background-color: white;
    /* 半透明 */
    z-index: 999;
    overflow: hidden;
    border: 1px solid #0095fe;

}
.big img{
    position:absolute;
    top: 0;
    left: 0;
    width: 1160px;
    height: 1096px;
}